Field help (DEMDLVDAT2) 

You can limit the scheduled invoice selection only to scheduled invoices with a next invoice date prior or equal to the specified date.
By default, this date is initialized to the current date.

The selected scheduled invoices are also filtered according to the entered Invoice date: only the scheduled invoices whose next invoice date is prior to the entered Invoice date are considered.

For example:

Invoice date: 05/10/2019
Scheduled invoices until: 05/15/2019

  • The scheduled invoices whose next due date is 05/08/2019 is considered by the script.
  • The scheduled invoices whose next due date is 05/12/2019 is not considered by the script.